<?php
/*
 * 1626cms 簡歷列表
 * ============================================================================
 * 版權所有: 1626網絡，并保留所有權利。
 * 網站地址: http://www.1626.com；
 * ----------------------------------------------------------------------------
 * 這不是一個自由軟件！您只能在不用于商業目的的前提下對程序代碼進行修改和
 * 使用；不允許對程序代碼以任何形式任何目的的再發布。
 * ============================================================================
 */
define('IN_QISHI', true);
$page_select="resume";
require_once('./include/common.inc.php');
$smarty->caching = false;
require_once(QISHI_ROOT_PATH.'include/mysql.class.php');
$db = new mysql($dbhost,$dbuser,$dbpass,$dbname);
unset($dbhost,$dbuser,$dbpass,$dbname);
require_once(QISHI_ROOT_PATH.'include/fun_category.php');
if ($_GET['category'])
{
	$category_name=get_jobs_category_one(intval($_GET['category']));
	$smarty->assign('category_name',cut_str($category_name['categoryname'],12,0));
	$smarty->assign('category_name_long',$category_name['categoryname']);
	$smarty->assign('category',$_GET['category']);
	$subclass_list=get_jobs_Parent_list(intval($_GET['category']));
	$smarty->assign('subclass_list',$subclass_list);
}
if ($_GET['subclass'])
{
	$subclass_name=get_jobs_category_one(intval($_GET['subclass']));
	$smarty->assign('subclass_name',cut_str($subclass_name['categoryname'],12,0));
	$smarty->assign('subclass_name_long',$subclass_name['categoryname']);
	$smarty->assign('subclass',intval($_GET['subclass']));
}
if ($_GET['education'])
{
	$education_name=get_jobs_education_one(intval($_GET['education']));
	$smarty->assign('education_name',cut_str($education_name['categoryname'],12,0));
	$smarty->assign('education',intval($_GET['education']));
}
if ($_GET['experience'])
{
	$smarty->assign('experience',$_GET['experience']);
	$experience_name=get_jobs_experience_one(intval($_GET['experience']));
	$smarty->assign('experience_name',cut_str($experience_name['categoryname'],12,0));
}
$smarty->assign('category_list',get_jobs_category(9,8));//職能列表
$smarty->assign('education_list',get_jobs_education());//地區列表
$smarty->assign('experience_list',get_jobs_experience());//地區列表
$smarty->display('resume.htm',$qs_cached_dir);
?>
